//
//  oAuth.m
//  TwiX
//
//  Created by Christoph Seitz on 27.07.09.
//  Copyright 2009 DS Shanghai. All rights reserved.
//

#import "oAuth.h"


@implementation oAuthServicePorvider
+(oAuthServicePorvider*) oAuthServiceProviderWithRequestToken:(NSURL*)rt Authorize:(NSURL*)a andAccessToken:(NSURL*)at{
	oAuthServicePorvider* temp = [[[oAuthServicePorvider alloc] init]autorelease];
	[temp setRequestToken:rt];
	[temp setAuthorize:a];
	[temp setAccessToken:at];
	return temp;
}
-(id) init{
	self = [super init];
	if (self != nil) {
		NSLog(@"Hallo");
	}
	return self;
}
-(void) setRequestToken:(NSURL*)url{}
-(void) setAuthorize:(NSURL *)url{}
-(void) setAccessToken:(NSURL*) url{}
-(NSURL*) requestToken{}
-(NSURL*) authorize{}
-(NSURL*) accessToken{}
@end

@implementation oAuthConsumer

+(oAuthConsumer*) oAuthConsumerWithKey:(NSString*)k andSecret:(NSString*)s {
	return [[[oAuthConsumer alloc]init]autorelease];
@end

@implementation oAuth

- (id) init
{
	self = [super init];
	if (self != nil) {
		NSLog(@"Hallo");
	}
	return self;
}
-(id)initWithServiceProvider:(oAuthServicePorvider*)sp withCosumer:(oAuthConsumer*)c;
	self = [super init];
	if (self != nil) {
		[self setServiceProvider:sp];
		[self setConsumer:c];
	}
	return self;
}
-(void) setServiceProvider:(oAuthServicePorvider*)sp{}
-(void) setConsumer:(oAuthConsumer*)c{}
-(void) setUser{}
-(NSString*) user{}
-(NSString*) password{}
-(void) setPassword{}
-(void)connect{}


@end


